package com.example.hospital.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "PrescriptionQuery", description = "处方查询对象")
public class PrescriptionQuery {
    @Schema(description = "患者ID")
    private Integer patientId;

    @Schema(description = "医生ID")
    private Integer doctorId;

    @Schema(description = "病历ID")
    private Integer medicalrecordId;

    @Schema(description = "处方状态")
    private String status;

    @Schema(description = "筛选开始日期, 对应prescription_date")
    private String startDate;

    @Schema(description = "筛选结束日期, 对应prescription_date")
    private String endDate;

    @Schema(description = "模糊查询字段")
    private String medications;
}
